#ifndef KVS_UTIL_BACKUP
#define KVS_UTIL_BACKUP
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <limits.h>
#include <fcntl.h>

#define FTW_F	1
#define	FTW_D	2
#define	FTW_DNR	3
#define	FTW_NS	4

#define	BUFFER_SIZE	(5*1024*1024)
typedef int HOOK_FILE (char*, const struct stat*, int);
void dopath(char* pathname, HOOK_FILE* myfunc);
void path_abs(char* path_abs, char* path_pre);



#endif
